package com.bootdo.program.wallpaper.dao;

import com.bootdo.program.wallpaper.domain.BzBaseinfoDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 小程序基础配置
 * @author guoyunfei
 * @email 2549789059@qq.com
 * @date 2021-08-12 21:59:33
 */
@Mapper
public interface BzBaseinfoDao {

	BzBaseinfoDO get(Integer id);

	BzBaseinfoDO getByAppid(String appid);

	BzBaseinfoDO getByPlatformType(Integer platformType);

	List<BzBaseinfoDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(BzBaseinfoDO bzBaseinfo);
	
	int update(BzBaseinfoDO bzBaseinfo);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);
}
